156-2007: Tabbing through ODS

نویسنده

  • Haibin Shu
چکیده

The author presents a significant approach to aligning multiple variables inside a cell by applying tabs to the ODS reporting process. Consequently what appeared to be one limitation in classical ODS reporting has been overcome. The technique makes it easy to adopt mixed patterns in presenting the result of proc report, which have become necessary under certain circumstances such as patient profile. INTRODUCTION This paper will describe the challenging question of aligning variables in ODS reporting and why and how with the aid of tabbing (a control word in RTF) the difficulty will be solved. Throughout the duration of this paper, ODS destination RTF is assumed unless otherwise indicated. Familiarity with proc report and basic concepts in ODS as well as ODS template is preferred for better understanding the technical nature of the paper. THE QUESTION The question has its root in the column structure of proc report. The COL and DEFINE statement define each column for a report, no matter it’s a summary or detail report. These columns are as important to a report as pillars to a building. Therefore, it’s no wonder an experienced programmer would spend time designing these columns almost as seriously as an architect to a building. Follows is an example from SAS Online Doc, in which columns “Manager”, “Department”, and “Sales” pretty much defined the whole report. Manager Department Sales Smith Paper $50.00 Smith Meat/Dairy $100.00 Smith Canned $120.00 Smith Produce $80.00 Jones Paper $40.00 Jones Meat/Dairy $300.00 Jones Canned $220.00 Jones Produce $70.00 =========== $980.00 However, these pre-defined “pillar” type construct will have problem when data requires more flexibilities. Using the above example for the purpose of illustration, is it possible to include employee numbers, but without changing the program? To achieve something like this: Manager Department Sales Smith Paper 1 $50.00 Smith Meat/Dairy 2 $100.00 ... ... ... The solution for this particular case is not too difficult and will be presented later in this paper, with the use of tab stops. It’s very important to allow more data to be added into the columns when proc report is required to present data that are heterogeneous. Building standard reporting structure will become impossible if this feature doesn’t exist. There may be many other approaches to this enhancement, a novel solution by combining ODS and tabbing controls is presented in this paper. HISTORY OF TABBING The history of tabbing goes all the way back to typewriter. A tab stop on a typewriter is a location where the carriage movement is halted by mechanical gears. Modern word processors generalize this concept by offering tab stops that have an alignment attributes and cause the text to be automatically aligned at left, at right or center of the tab stop itself. You can customize these attributes in WORD by selecting Tabs under the pull-down menu of Format: 1 SAS Global Forum 2007 Posters

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

263-2008: Tabbing Through ODS II

The authors present a significant improvement to the approach of aligning multiple variables inside a cell by applying tabs to the ODS reporting process. Consequently the enhanced method is able to integrate seamlessly with inline formatting and greatly improving the ability for data presentation. INTRODUCTION This paper will describe the challenging question regarding the old approach of align...

متن کامل

Taking into account Tabbed Browsing in Predictive Web Usage Mining

Over the last few years, browser tabs have become a very common tool for web users and have been extensively used to perform parallel navigations. Tabbing facilitates web browsing but results in an imbrication of navigations, which makes it more difficult to understand users’ behavior. That is why very recent research has been focusing in analyzing this new kind of usage. This work follows a pr...

متن کامل

Model Analysis of Data Integration of Enterprises and E-Commerce Based on ODS

Based on the discussion of ODS (Operational Data Store), enterprise data environment features and data integration requirement, three granularity level data models of Web logs in e-commerce are analyzed. Further, data updating and collecting train of thought has been expressed which is realized by granularity manager. Finally, a model is put up, which integrates e-commerce data and other enterp...

متن کامل

Tracking Drug Overdose Trends in Ohio using ED Chief Complaints

Introduction The State of Ohio, as well as the country, has experienced an increasing incidence of drug ODs over the last three decades [3]. Of the increased number of unintended drug OD deaths in 2008, 9 out of 10 were caused by medications or illicit drugs [1]. In Ohio, drug ODs surpassed MVCs as the leading cause of injury death in 2007. This trend has continued through the most current avai...

متن کامل

On the correctness of pull-tabbing

Pull-tabbing is an evaluation approach for functional logic computations, based on a graph transformation recently proposed, which avoids making irrevocable non-deterministic choices that would jeopardize the completeness of computations. In contrast to other approaches with this property, it does not require an upfront cloning of a possibly large portion of the choice’s context. We formally de...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007